<template>
  <div>
    <DatabaseInfo
      :id="id"
      :t="t"
      :operate-type="operateType"
      @doClose="doClose"
    />
  </div>
</template>

<script>
import DatabaseInfo from './components/database-info'
export default {
  name: 'DbmsDatabaseDetail',
  components: {
    DatabaseInfo
  },
  props: {
    id: {
      type: String,
      required: true
    }
  },
  data() {
    return {
      t: new Date().getTime(),
      operateType: 'detail'
    }
  },
  methods: {
    // 关闭页面
    doClose() {
      this.pageOver()
    }
  }
}

</script>
